package com.ceair.flight.refund.location.model;


import com.ceair.flight.refund.util.DateUtil;
import com.ceair.muservice.common.util.StingUtil;

import java.math.BigDecimal;
import java.util.Date;

public class RefundSegDO {
    private Long id;

    private Long refundTktId;

    private String departAirport;

    private String arriveAirport;

    private Date departDate;

    private Date arriveDate;

    private String status;

    private String cabin;

    private String fareBaise;

    private String flightNo;

    private String realFlightNo;

    private Integer indexNo;

    private String segType;

    private String flightStatus;

    private String eiContent;

    private BigDecimal ticketPrice;

    private BigDecimal salePrice;

    private String refundRule;

    private String realRefundRule;

    private BigDecimal refundFee;

    private BigDecimal refundAmount;

    private Short isReschedule;

    private BigDecimal rescheduleTktGap;

    private BigDecimal rescheduleFee;

    private Long segPoints;

    private Long refundPoints;
    
    private BigDecimal fcnyDiff;
    
    private BigDecimal scnyDiff;
    
    private BigDecimal fcnyDiffRes;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getRefundTktId() {
        return refundTktId;
    }

    public void setRefundTktId(Long refundTktId) {
        this.refundTktId = refundTktId;
    }

    public String getDepartAirport() {
        return departAirport;
    }

    public void setDepartAirport(String departAirport) {
        this.departAirport = departAirport == null ? null : departAirport.trim();
    }

    public String getArriveAirport() {
        return arriveAirport;
    }

    public void setArriveAirport(String arriveAirport) {
        this.arriveAirport = arriveAirport == null ? null : arriveAirport.trim();
    }

    public Date getDepartDate() {
        return departDate;
    }

    public void setDepartDate(Date departDate) {
        this.departDate = departDate;
    }

    public Date getArriveDate() {
        return arriveDate;
    }

    public void setArriveDate(Date arriveDate) {
        this.arriveDate = arriveDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getCabin() {
        return cabin;
    }

    public void setCabin(String cabin) {
        this.cabin = cabin == null ? null : cabin.trim();
    }

    public String getFareBaise() {
        return fareBaise;
    }

    public void setFareBaise(String fareBaise) {
        this.fareBaise = fareBaise == null ? null : fareBaise.trim();
    }

    public String getFlightNo() {
        return flightNo;
    }

    public void setFlightNo(String flightNo) {
        this.flightNo = flightNo == null ? null : flightNo.trim();
    }

    public String getRealFlightNo() {
        return realFlightNo;
    }

    public void setRealFlightNo(String realFlightNo) {
        this.realFlightNo = realFlightNo == null ? null : realFlightNo.trim();
    }

    public Integer getIndexNo() {
        return indexNo;
    }

    public void setIndexNo(Integer indexNo) {
        this.indexNo = indexNo;
    }

    public String getSegType() {
        return segType;
    }

    public void setSegType(String segType) {
        this.segType = segType == null ? null : segType.trim();
    }

    public String getFlightStatus() {
        return flightStatus;
    }

    public void setFlightStatus(String flightStatus) {
        this.flightStatus = flightStatus == null ? null : flightStatus.trim();
    }

    public String getEiContent() {
        return eiContent;
    }

    public void setEiContent(String eiContent) {
        this.eiContent = eiContent == null ? null : eiContent.trim();
    }

    public BigDecimal getTicketPrice() {
        return ticketPrice;
    }

    public void setTicketPrice(BigDecimal ticketPrice) {
        this.ticketPrice = ticketPrice;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    public String getRefundRule() {
        return refundRule;
    }

    public void setRefundRule(String refundRule) {
        this.refundRule = refundRule == null ? null : refundRule.trim();
    }

    public String getRealRefundRule() {
        return realRefundRule;
    }

    public void setRealRefundRule(String realRefundRule) {
        this.realRefundRule = realRefundRule == null ? null : realRefundRule.trim();
    }

    public BigDecimal getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(BigDecimal refundFee) {
        this.refundFee = refundFee;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Short getIsReschedule() {
        return isReschedule;
    }

    public void setIsReschedule(Short isReschedule) {
        this.isReschedule = isReschedule;
    }

    public BigDecimal getRescheduleTktGap() {
        return rescheduleTktGap;
    }

    public void setRescheduleTktGap(BigDecimal rescheduleTktGap) {
        this.rescheduleTktGap = rescheduleTktGap;
    }

    public BigDecimal getRescheduleFee() {
        return rescheduleFee;
    }

    public void setRescheduleFee(BigDecimal rescheduleFee) {
        this.rescheduleFee = rescheduleFee;
    }

    public Long getSegPoints() {
        return segPoints;
    }

    public void setSegPoints(Long segPoints) {
        this.segPoints = segPoints;
    }

    public Long getRefundPoints() {
        return refundPoints;
    }

    public void setRefundPoints(Long refundPoints) {
        this.refundPoints = refundPoints;
    }
    
	public BigDecimal getFcnyDiff() {
		return fcnyDiff;
	}

	public void setFcnyDiff(BigDecimal fcnyDiff) {
		this.fcnyDiff = fcnyDiff;
	}

	public BigDecimal getScnyDiff() {
		return scnyDiff;
	}

	public void setScnyDiff(BigDecimal scnyDiff) {
		this.scnyDiff = scnyDiff;
	}

	public BigDecimal getFcnyDiffRes() {
		return fcnyDiffRes;
	}

	public void setFcnyDiffRes(BigDecimal fcnyDiffRes) {
		this.fcnyDiffRes = fcnyDiffRes;
	}

	@Override
	public String toString() {
		return id + StingUtil.SEPARATOR + refundTktId + StingUtil.SEPARATOR + departAirport
				+ StingUtil.SEPARATOR + arriveAirport + StingUtil.SEPARATOR + DateUtil.toString(departDate, StingUtil.DATEFORMATE) + StingUtil.SEPARATOR +DateUtil.toString(arriveDate, StingUtil.DATEFORMATE)
				+ StingUtil.SEPARATOR + status + StingUtil.SEPARATOR + cabin + StingUtil.SEPARATOR + fareBaise + StingUtil.SEPARATOR+ flightNo
				+ StingUtil.SEPARATOR + realFlightNo + StingUtil.SEPARATOR + indexNo +StingUtil.SEPARATOR + segType + StingUtil.SEPARATOR
				+ flightStatus + StingUtil.SEPARATOR + eiContent + StingUtil.SEPARATOR + ticketPrice + StingUtil.SEPARATOR
				+ salePrice + StingUtil.SEPARATOR + refundRule + StingUtil.SEPARATOR + realRefundRule + StingUtil.SEPARATOR
				+ refundFee + StingUtil.SEPARATOR + refundAmount + StingUtil.SEPARATOR + isReschedule
				+ StingUtil.SEPARATOR + rescheduleTktGap +StingUtil.SEPARATOR + rescheduleFee + StingUtil.SEPARATOR
				+ segPoints + StingUtil.SEPARATOR + refundPoints;
	}
    
    
}